<?php
    class menu extends CI_Model{
        
        public function __construct() {
            $this->load->database();
        }
        
        public function getActiveMenu(){
            $query = "select * from mt_menu where id_menu_induk is NULL AND is_active='1' ORDER BY urutan";
            $rs = $this->db->query($query);
            return $rs;
        }
    }
?>
